package 责任链模式.demo2;

public class LittleDog extends Dog {

    public LittleDog(int level, Dog dog) {
        this.level = level;
        this.nextDog = dog;
    }

    @Override
    public void print() {
        System.out.println("small");
    }
}
